package mapper;

import org.example.javabean.User;
import org.example.javabean.User2;

import java.util.List;

public interface UserMapper {
    List<User> selectAllUser();
    User selectById(int id);
    List<User> selectByIdAndSal(int id,double sal);
    int insertUser(User user);

    int updateSalById(int id,double sal);

    int deleteById(int id);
}
